package com.appspot.codelab.docs.client.events;

import com.google.gwt.event.logical.shared.SelectionEvent;

/**
 * Defines a password selection event.
 */
public class PasswordSelectionEvent extends SelectionEvent<String> {

  protected boolean rememberValue;
  
  /**
   * Constructs a new password selection event.
   * 
   * @param selectedItem the selected password
   */
  public PasswordSelectionEvent(String selectedItem, boolean rememberValue) {
	super(selectedItem);
	this.rememberValue = rememberValue;
  }

  public boolean isRememberValue() {
    return rememberValue;
  }

  public void setRememberValue(boolean rememberValue) {
    this.rememberValue = rememberValue;
  }
	
}
